{% extends "master.html" %}
{% block subtitle %} - 基础信息 - 编码管理{% endblock %}

{% block extJS %}
<script language="JavaScript" type="text/javascript">
//<![CDATA[
    function toSbumit(){
        $("#dataForm").submit();
        
    }
//]]>
</script>
{% endblock %}




{% block main %}
<div class="container">
    <div class="row">
        <ul class="breadcrumb">
          <li><a href="{{url_for('bpMas.view')}}">基础信息</a> <span class="divider">\</span></li>
          <li class="active">编码管理</li>
        </ul>
    </div>
    <div class="row">
        {{mymacros.render_search_form(form,3)}}
    </div>
    <div class="row">    
        <div class="btn-toolbar pull-right">
            <div class="btn-group"><button type="button" class="btn btn-primary" onclick="$('.searchForm').submit()">{{BTN_SEARCH}}</button></div>
        </div>
    </div>
    <div class="row">
        <table class="table table-bordered">
            <thead>
                <tr>
                    <td>编码名称</td>
                    <td>编码值</td>
                    <td>备注</td>
                </tr>
            </thead>
            <tbody>
                {% for r in result %}
                    <tr>
                        <td>{{r.name|f}}</td>
                        <td>{{r.value}}</td>
                        <td>{{r.remark|f}}</td>
                    </tr>
                {% endfor %}
            <tbody>
        </table>
    </div>
</div>
{% endblock %}